package com.gt.xmall.log.model;
// Generated 2008-3-25 15:29:16 by Hibernate Tools 3.1.0.beta4



import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;





@Document(collection="sys_data_log")
public class SysDataLog  implements java.io.Serializable {


    // Fields    

	@Id
	private String id;
	
	
    private String operateType;
    private String entityName;
    private String entityId;
    private String columnName;
    private String previousValue;
    private String newValue;
    
    private String operator;
    private Date operateTime;
    
    private String moduleName;
    private String hostName;
    private String ipAddress;
    private Long operationLogId;

   
    // Constructors

  


	/** default constructor */
    public SysDataLog() {
    }


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getOperateType() {
		return operateType;
	}


	public void setOperateType(String operateType) {
		this.operateType = operateType;
	}


	public String getEntityName() {
		return entityName;
	}


	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}


	public String getEntityId() {
		return entityId;
	}


	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}


	public String getColumnName() {
		return columnName;
	}


	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}


	public String getPreviousValue() {
		return previousValue;
	}


	public void setPreviousValue(String previousValue) {
		this.previousValue = previousValue;
	}


	public String getNewValue() {
		return newValue;
	}


	public void setNewValue(String newValue) {
		this.newValue = newValue;
	}


	public String getOperator() {
		return operator;
	}


	public void setOperator(String operator) {
		this.operator = operator;
	}





	public Date getOperateTime() {
		return operateTime;
	}


	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}


	public String getModuleName() {
		return moduleName;
	}


	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}


	public String getHostName() {
		return hostName;
	}


	public void setHostName(String hostName) {
		this.hostName = hostName;
	}


	public String getIpAddress() {
		return ipAddress;
	}


	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}


	public Long getOperationLogId() {
		return operationLogId;
	}


	public void setOperationLogId(Long operationLogId) {
		this.operationLogId = operationLogId;
	}


	@Override
	public String toString() {
		return "SysDataLog [id=" + id + ", operateType=" + operateType
				+ ", entityName=" + entityName + ", entityId=" + entityId
				+ ", columnName=" + columnName + ", previousValue="
				+ previousValue + ", newValue=" + newValue + ", operator="
				+ operator + ", operateTime=" + operateTime + ", moduleName="
				+ moduleName + ", hostName=" + hostName + ", ipAddress="
				+ ipAddress + ", operationLogId=" + operationLogId + "]";
	}





}
